#include <iostream>
using namespace std;

int main() {
    cout.setf(ios::fixed, ios::floatfield);

    float tub = 10.0 / 3.0;             // 大约6个有效位
    const float million = 1.0e6;

    double mint = 10.0 / 3.0;           // 大约15个有效位

    cout << "tub = " << tub;
    cout << ", a million tubs = " << million * tub;
    cout << ",\nand ten million tubs = ";
    cout << 10 * million * tub << endl;

    cout << "mint = " << mint << " and a million mints = ";
    cout << million * mint << endl;
}